package com.xbongbong.pro.enums;

import com.xbongbong.i18n.util.I18nMessageUtil;
import lombok.Getter;

/**
 * @Author shian
 * @create 2019-11-18 13:42
 * @Description
 */
@Getter
public enum ClueDetailJoinEnum {
    /**
     * 进入栗子详情页的方式
     */
    NORMAL_SOUKE(1, "enum.clueDetailJoin.name.normal_souke"),


    SIMPLE_BUSINESS(2, "enum.clueDetailJoin.name.simple_business"),


    TOURIST_SOUKE(3, "enum.clueDetailJoin.name.tourist_souke"),;

    private Integer type;

    private String name;

    ClueDetailJoinEnum(int type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getName() {
        return I18nMessageUtil.getMessage(name);
    }
}
